package SOSO;

import lombok.Data;

@Data
public class NetPackage extends ServicePackage implements NetService{
    private double flow;

    public NetPackage() {
        this.flow = 3.0*1024;
        this.price = 68.0;
    }


    @Override
    public void showInfo() {
        System.out.println("网虫套餐：上网流量为"+flow/1024+"G/月。");
    }

    @Override
    public double netPlay(double flow, MobileCard card) {
        return 0;
    }
}
